package com.cc.service.impl;

import com.cc.entity.User;
import com.cc.mapper.UserMapper;
import com.cc.service.UserSerivce;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @program:
 * @ClassName:
 * @description:
 * @author: zgc
 * @date:
 * @Version 1.0
 **/
@Service
public class UserSerivceImpl implements UserSerivce {
    @Resource
    private UserMapper userMapper;

    @Override
    public User selectUserInfo(User user) {
        return userMapper.selectUserInfo(user);
    }
}
